package com.itheima.reggie.service;

import com.itheima.reggie.common.R;
import com.itheima.reggie.entity.Employee;
import com.itheima.reggie.entity.Page;

public interface EmployeeService {
    public R<Employee> login(Employee employee);

    //添加员工
    public void add(Employee employee);

    //分页条件查询
    Page<Employee> findByPage(Integer page,Integer pageSize,String name);

    //修改员工账号状态
    Boolean update(Employee employee);

    //回显数据
    Employee findById(Long id);
}
